-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update navigation, change param, namespace #29
base: develop
Are you sure you want to change the base?
Conversation
<!-- <arg name="map_info_file" default="/home/gisen/map/M20210525165127330/map_info.yaml"/> | ||
<rosparam command="load" file="$(arg map_info_file)" ns="map_info"/> | ||
<rosparam command="delete" param="map_info/building_id"/> | ||
<rosparam command="delete" param="map_info/floor_id"/> | ||
<group ns="navigation"> | ||
|
||
<!--[EDIT] robot name--> | ||
<arg name="robot" default="cube_petit"/> | ||
<!--[EDIT] topic name of /scan--> | ||
<arg name="scan" default="/pacecat/scan_filtered"/> | ||
<!--[EDIT] topic name of /odom--> | ||
<arg name="odom" default="/cube_petit/diff_drive_controller/odom"/> | ||
|
||
<!-- [EDIT] map file name--> | ||
<!-- <arg name="map_file" default="$(find cube_petit)/map/daikaigisitu/map.yaml"/> --> | ||
|
||
<!-- <arg name="map_file" default="$(find cube_petit_gazebo)/map/floor_eight/map.yaml"/> --> | ||
<!-- <arg name="map_file" default="$(find cube_petit_navigation)/map/airi_v2/map.yaml"/> --> | ||
<arg name="map_file" default="$(find cube_petit_navigation)/map/floor_27_2/3/map.yaml"/> | ||
|
||
<!-- [EDIT] keepout map file name if you need --> | ||
<arg name="map_keepout_file" default="$(find cube_petit_navigation)/map/floor_27_2/3/map.yaml" /> | ||
<arg name="use_keepout" default="true" /> | ||
<param name="map_server/map_file" value="$(arg map_file)" /> | ||
|
||
|
||
|
||
|
||
|
||
<!-- If "costmap_image = true" launch costmap_to_image node --> | ||
<arg name="costmap_image" default="false" /> | ||
|
||
<!-- Navigation parameter files --> | ||
<arg name="move_base_include" default="$(find cube_petit_navigation)/launch/include/move_base.launch.xml"/> | ||
<arg name="amcl_include" default="$(find cube_petit_navigation)/launch/include/amcl.launch.xml"/> | ||
|
||
|
||
<!-- serve up a map --> | ||
<node name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)"/> | ||
|
||
<!-- serve up a map with keepout zones --> | ||
<group if="$(arg use_keepout)" > | ||
<rosparam command="delete" param="map_info/floor_id"/> --> | ||
<!-- <group ns="navigation"> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
消す
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除します
<!-- <rosparam command="load" file="$(arg map_info_file)" ns="map_info"/> --> | ||
<!-- <node pkg="tf" type="static_transform_publisher" name="odom_tf" args="0 0 0 0 0 0 map odom 100" /> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
消す
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除します
<param name="map_server/map_file" value="$(arg map_file)"/> | ||
<!-- <rosparam command="load" file="$(arg map_info_file)" ns="map_info"/> --> | ||
<!-- <node pkg="tf" type="static_transform_publisher" name="odom_tf" args="0 0 0 0 0 0 map odom 100" /> --> | ||
<!-- If "costmap_image = true" launch costmap_to_image node --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コメントの内容と書かれている内容が異なる
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除しました
<!-- <group ns="rviz_topics_relay"> | ||
<node name="clicked_point_relay" pkg="topic_tools" type="relay" args="/clicked_point /clicked_point"/> | ||
<node name="initialpose_relay" pkg="topic_tools" type="relay" args="/initialpose /initialpose"/> | ||
<node name="simple_goal_relay" pkg="topic_tools" type="relay" args="/move_base_simple/goal /move_base_simple/goal"/> | ||
</group> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
消す
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除しました
<!-- <remap from="move_base_simple/goal" to="/move_base_simple/goal"/> | ||
<remap from="initial_pose" to="/initial_pose"/> | ||
<remap from="clicked_point" to="/clicked_point"/> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
消す
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除しました
<remap from="initial_pose" to="/initial_pose"/> | ||
<remap from="clicked_point" to="/clicked_point"/> --> | ||
</include> | ||
<!-- </group> --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
消す
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
削除しました
Summary
navitaionのlaunch、odomのパラメータのアップデート、map追加を行いました
Test